package com.ktgj.customer.domain.dto;

import com.ktgj.common.core.annotation.Excel;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 部门对象 department
 * 
 * @author ruoyi
 * @date 2021-07-27 */
public class DepartmentTreeSelectDTO implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 部门ID */
    private Long deptId;

    /** 父部门 */
    @Excel(name = "父部门")
    private Long parentDeptId;

    /** 部门名称 */
    @Excel(name = "部门名称")
    private String deptName;

    private List<DepartmentTreeSelectDTO> list = new ArrayList<>();


    public List<DepartmentTreeSelectDTO> getList() {
        return list;
    }

    public void setList(List<DepartmentTreeSelectDTO> list) {
        this.list = list;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getParentDeptId() {
        return parentDeptId;
    }

    public void setParentDeptId(Long parentDeptId) {
        this.parentDeptId = parentDeptId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }
}
